package com.sxz.sbs.http.response;

/**
 * 返回json基类
 */

public class HttpResponse<T> {
    private int statusCode;
    private String message;
    private T model;

    public int getStatusCode() {
        return statusCode;
    }

    public String getMessage() {
        return message;
    }

    public T getModel() {
        return model;
    }

    @Override
    public String toString() {
        return "HttpResponse{" +
                "statusCode=" + statusCode +
                ", message='" + message + '\'' +
                ", model=" + model +
                '}';
    }
}
